Einhugur Word Plugin for Xojo

Paragraph.AppendShape Method

Appends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run.

AppendShape(
   shapeType as EinhugurWord.ShapeTypes,
   x as Double,
   y as Double,
   cx as Double,
   cy as Double,
   unit as EinhugurWord.EmuUnits) as EinhugurWord.Shape

Parameters

shapeType
The type of the shape to append.
x
X Location of the shape from start of the paragraph.
y
Y Location of the shape from start of the paragraph.
cx
Width or x portion 2nd point of the shape.
cy
Width or y portion 2nd point of the shape.
unit
Unit for the shape.

Returns

EinhugurWord.Shape
The newly created Shape.

Remarks

Note that Shape support is very preliminary.

See Also

Paragraph Class